package com.one.common.model.http;

/**
 * Created by jiejing on 2017/8/18.
 * 各种错误码
 */

public class ErrorConstant {
    //APP自定义错误码
    public static final String APP_ERROR_TIMEOUT = "APP_ERROR_TIMEOUT";//超时
    public static final String APP_ERROR_HTTPEXCEPTION = "APP_ERROR_HTTPEXCEPTION";//服务端异常
    public static final String APP_ERROR_FAIL = "APP_ERROR_FAIL";//请求服务端失败

    //服务端返回

    public static final String E_100 = "100";   // 会话不存在!请联系系统管理员
    public static final String NOT_LOGIN = "106";   // 未登录，去登陆页面
    public static final String SESSION_EXPIRED = "101";   // session过期
    public static final String E_USER_2 = "E_USER_2";   // 缺少请求参数
    public static final String NOT_REGISTER = "E_USER_1";   // 手机号未注册
    public static final String NEW_DEVICE = "E_USER_14";   // 新设备登录
    public static final String NEW_DEVICE_1 = "108";   // 强制退出，异地登录
    public static final String NEW_USER_INVITE = "1017";   // 手机号不是平台用户，已发起注册邀请
    public static final String NOT_CAR = "1025";   // 搜索熟车，没有车
    public static final String GOODS_INVALID = "E_GOODS_93";   // 货源已失效
    public static final String GOODS_INVALID_2 = "E_GOODS_99";   // 货源已撤销
    public static final String ORDER_INVALID = "E_ORDER_99";   // 订单失效


    public static final String GOODS_CHANGE = "E_GOODS_25";   // 订单状态变更

    public static final String GOODS_ERROR = "E_GOODS_9";   // 货源状态错误，单子已经被接走了


}
